package com.ddstation.app.doctor_verify.mapper;

import com.ddstation.app.doctor_verify.model.AppDoctorVerifyModel;
import com.ddstation.doctor.entity.DdDoctorEntity;
import org.apache.ibatis.annotations.Param;

public interface AppDoctorVerifyMapper {
    AppDoctorVerifyModel selectByToken(@Param("token") String token);
    int insert(@Param("institutionId") String institutionId, @Param("doctorId") Integer doctorId, @Param("token") String token, @Param("logId") String lodId);
    int selectCnt(@Param("token") String token);
    int updateStatus(@Param("token") String token);
    int updateLogId(@Param("token") String token, @Param("logId") Long logId);
    int updateDoctorInfo(@Param("doctor") DdDoctorEntity doctor, @Param("institutionId") String institutionId);
    int updateLogByToken(@Param("token") String token, @Param("doctorId") Integer doctorId, @Param("institutionId") String institutionId);
}